import Vue from 'vue'
import App from './App.vue'
import axios from 'axios'
import VueAxios from 'vue-axios'
import iView from 'iview';
import 'iview/dist/styles/iview.css';
import VueRouter from 'vue-router';
import {routes} from './routes';
import VueQuillEditor from 'vue-quill-editor';
import 'quill/dist/quill.core.css';
import 'quill/dist/quill.snow.css';
import 'quill/dist/quill.bubble.css';

Vue.use(VueAxios, axios);
Vue.use(iView);
Vue.use(VueRouter);
Vue.use(VueQuillEditor);

const router = new VueRouter({
  routes:routes,
  mode:'hash'
})


new Vue({
  el: '#app',
  router, 
  render: h => h(App)
})
